package cn.mxh.pethspt.entity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 评论实体类
 */
public class PingLun {
    private Integer pId;// 评论id
    private Integer uId;// 用户id
    private Integer eId;// 员工id
    private String pAuthor;// 评论者
    private String pContent;// 评论内容
    private LocalDateTime pTime;// 评论时间
    private Integer meId;// 信息id

   public PingLun(){}

    public PingLun(Integer pId, Integer uId, Integer eId, String pAuthor, String pContent, LocalDateTime pTime, Integer meId) {
        this.pId = pId;
        this.uId = uId;
        this.eId = eId;
        this.pAuthor = pAuthor;
        this.pContent = pContent;
        this.pTime = pTime;
        this.meId = meId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public String getpAuthor() {
        return pAuthor;
    }

    public void setpAuthor(String pAuthor) {
        this.pAuthor = pAuthor;
    }

    public String getpContent() {
        return pContent;
    }

    public void setpContent(String pContent) {
        this.pContent = pContent;
    }

    public LocalDateTime getpTime() {
        return pTime;
    }

    public void setpTime(LocalDateTime pTime) {
        this.pTime = pTime;
    }

    public Integer getMeId() {
        return meId;
    }

    public void setMeId(Integer meId) {
        this.meId = meId;
    }

    @Override
    public String toString() {
        return "PingLun{" +
                "pId=" + pId +
                ", uId=" + uId +
                ", eId=" + eId +
                ", pAuthor='" + pAuthor + '\'' +
                ", pContent='" + pContent + '\'' +
                ", pTime=" + pTime +
                ", meId=" + meId +
                '}';
    }
}
